#ifndef MHX_MESH_H
#define MHX_MESH_H

#include "Vert.h"
#include "Face.h"
#include "Material.h"
#include "FaceProperty.h"
#include "FaceUV.h"
#include "Types.h"

#include <istream>
#include <vector>

namespace MHX
{
	class Mesh
	{
	public:
		bool parse(LineIterator &line);

		std::string name;
		
		Verts verts;
		Faces faces;
		// TODO: encapsulate in MeshTextureFaceLayer
		FaceUVs uv;
		Materials materials;
		FaceProperties faceProperties;
	};
}

#endif